Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] CentOs 6.3 GLIBCXX_3.4.15 not found error in QT5 install

[SOLVED] CentOs 6.3 GLIBCXX_3.4.15 not found error in QT5 install

Scheduled Pinned Locked Moved Installation and Deployment
9 Posts 6 Posters 115.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bepehr
    wrote on last edited by
    #1

    hi , i want to install qt-linux-opensource-5.0.1-x86_64-offline.run , that i downloaded from http://qt-project.org/downloads
    but when i run it from terminal that give me this error
    @./qt-linux-opensource-5.0.1-x86_64-offline.run: /usr/lib64/libstdc++.so.6: version on GLIBCXX_3.4.15 not found ( required by qt-linux-opensource-5.0.1-x86_64-offline.run)@

    what i can do with this ?
    ty

    @OS : CentOs6.3 , 64bit
    QT : 5.0.1@

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Oh, Centos again. This bug comes up after every release, for years. It's not a Qt bug to be honest.

      Check out some posts "here":http://www.linuxquestions.org/questions/red-hat-31/lib-libstdc-so-6-version-`glibcxx_3-4-15-not-found-4175419985/, "here":http://stackoverflow.com/questions/5216399/usr-lib-libstdc-so-6-version-glibcxx-3-4-15-not-found, "here":http://superuser.com/questions/439705/skype-not-working-in-centos-6-2, and "here":http://www.centos.org/modules/newbb/viewtopic.php?topic_id=38584&forum=56.

      (Z(:^

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bepehr
        wrote on last edited by
        #3

        finally i solved my problem after 3 days searching , i will write my solution maybe it will help for others ...
        you need to compile GCC , this link is best guide for this "install guide":http://gcc.gnu.org/wiki/InstallingGCC
        after this you must find libstdc++.so.6 file , for this you can use this code @locate libstdc++.so.6@

        but if i didnt find new libstdc++.so.6 , you have to update locate database by this command
        @updatedb@

        when you find new libstdc++.so.6 , you have to replace this with /usr/lib64/libstdc++.so.6
        do it with terminal because you cant see new libstdc++.so.6 directory in gui file manage , i dont know why ..

        and then test qt install file , your problem must be fixed ..

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Cool, thank you for that guide.

          (Z(:^

          1 Reply Last reply
          0
          • E Offline
            E Offline
            ecloud
            wrote on last edited by
            #5

            There are also a couple of bugs about this topic

            https://bugreports.qt-project.org/browse/QTBUG-28580
            https://bugreports.qt-project.org/browse/QTBUG-29089

            1 Reply Last reply
            0
            • S Offline
              S Offline
              swivelhead
              wrote on last edited by
              #6

              Just to be clear, all that is needed is the newly compiled version of the libstdc++.so.6 file rather than the entire new version of the compiler to build Qt from this run file?

              Thanks.

              1 Reply Last reply
              0
              • U Offline
                U Offline
                ut2007
                wrote on last edited by
                #7

                Solution :

                i am using CentOs 6.4 x64bit

                I downloaded "gcc-4.6.2.tar.gz" from "ftp://gd.tuwien.ac.at/gnu/gcc/releases/gcc-4.6.2"

                [source of the below : "http://gcc.gnu.org/wiki/InstallingGCC":http://gcc.gnu.org/wiki/InstallingGCC]
                @tar xzf gcc-4.6.2.tar.gz
                cd gcc-4.6.2
                ./contrib/download_prerequisites
                cd ..
                mkdir objdir
                cd objdir
                $PWD/../gcc-4.6.2/configure --prefix=/opt/gcc-4.6.2
                make
                make install@

                After this is done, go to "/opt/gcc-4.6.2/lib64" you will be able to see "libstdc++.so.6" and "libstdc++.so.6.0.16".

                Rename "/usr/lib64/libstdc++.so.6" to "/usr/lib64/llibstdc++.so.6.backup"

                copy "/opt/gcc-4.6.2/lib64/libstdc++.so.6" and "/opt/gcc-4.6.2/lib64/libstdc++.so.6.0.16" to "usr/lib64/"

                And now you can "./qt-linux-opensource-5.0.1-x86_64-offline.run"

                You are free to go .... (i am currently using it)

                1 Reply Last reply
                1
                • S Offline
                  S Offline
                  swivelhead
                  wrote on last edited by
                  #8

                  Awesome. Thanks!

                  BTW: I'm getting this error on Mepis 11 x64 using the package libstdc++6-4.4-dev version 4.4.5-8

                  However, my original file looks like this:

                  @$ ll /usr/lib/libstd*
                  lrwxrwxrwx 1 root root 19 2010-11-25 11:21 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.13
                  -rw-r--r-- 1 root root 1043976 2010-11-14 21:03 /usr/lib/libstdc++.so.6.0.13
                  $@

                  If I can get a good build of gcc (my build issue is not related to this thread), I'll give the above hints a shot.

                  Thanks again.

                  1 Reply Last reply
                  0
                  • slugeS Offline
                    slugeS Offline
                    sluge
                    wrote on last edited by
                    #9

                    My point is just update the LD_LIBRARY_PATH

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved